package com.settlement.system.service;

import com.settlement.system.common.exception.ServiceException;
import com.settlement.system.model.entity.common.Item;
import org.apache.ibatis.annotations.Param;

/**
 * 商品资料表 服务类
 * @author Ximi
 * @since 2020-04-15
 */

public interface IItemService extends IBaseService {

    /**
     * 获取Item(通过关联item_sku)
     * @param brandUnitNo 品牌部编码
     * @param barcode 条码
     * @return
     * @throws ServiceException
     */
    public Item getItemJoinSku(String brandUnitNo, String barcode) throws ServiceException;

    /**
     * 获取Item(通过关联item_barcode_sku)
     * @param brandUnitNo 品牌部编码
     * @param barcode 条码
     * @return
     * @throws ServiceException
     */
    public Item getItemJoinBarcodeSku(String brandUnitNo,String barcode) throws ServiceException;


}

